package com.ruoyi.comparison.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 当事人信息，关联裁判文书信息业务对象 task_judge_detail
 *
 * @author ruoyi
 * @date 2023-11-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TaskJudgeDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 裁判文书信息表id
     */
    @NotNull(message = "裁判文书信息表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long judgeId;

    /**
     * 当事人名称
     */
    private String name;

    /**
     * 案件角色
     */
    @NotBlank(message = "案件角色不能为空", groups = { AddGroup.class, EditGroup.class })
    private String roleType;

    /**
     * 案件声明
     */
    @NotBlank(message = "案件声明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String statement;

    /**
     * 当事人主键
     */
    @NotBlank(message = "当事人主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private String keyno;


}
